<template>
  <n-modal v-model:show="showModal">
    <n-card
      style="width: 600px"
      title="代码生成器"
      :bordered="false"
      size="huge"
      role="dialog"
      aria-modal="true"
    >
      <n-form ref="formRef" inline :label-width="80" :model="formValue">
        <n-form-item label="选择类" path="user.name">
          <n-space vertical>
            <n-select v-model:value="formValue.value" :options="options" />
          </n-space>
        </n-form-item>
      </n-form>

      <template #footer>
        <n-button type="primary">提交</n-button>
      </template>
    </n-card>
  </n-modal>
</template>
<script setup>
const showModal = ref(false);
const options = ref([]);
const formValue = ref({
  value: '',
});
</script>
<style lang="scss" scoped></style>
